<html><head><title>Fog</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Fog()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>Fog</b></font>(Color, Intensity, StartDistance, EndDistance)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>


Creates a fog at the specified distance of the camera. The fog effect is 
applied to all cameras. The fog is also applied automatically to 
the <a href="skybox.html">SkyBox()</a> and <a href="skydome.html">SkyDome()</a> commands if called before them. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Color</i></td>
<td width="90%"> 
The fog color. <a href="../2ddrawing/rgb.html">RGB()</a> can be used to get a valid color value. 

</td></tr>
<tr><td><i>Intensity</i></td>
<td> 
The fog intensity. If sets to zero, the fog effect is disable. 

</td></tr>
<tr><td><i>StartDistance</i></td>
<td> 
The distance from the camera (in world units) where the fog should start. 

</td></tr>
<tr><td><i>EndDistance</i></td>
<td> 
The distance from the camera where the fog is fully opaque. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>See Also</b></p><blockquote>

<a href="skydome.html">SkyDome()</a>, <a href="skybox.html">SkyBox()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=firstworldcollisionentity.html>FirstWorldCollisionEntity()</a> - <a href="index.html">Engine3D Index</a> - <a href="freewater.html">FreeWater()</a> -><br><br>

</body></html>